package cn.practice.chat.response.chat;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName 聊天记录
 * @Description:
 * @Author A-TAO
 * @Date 2022/11/1
 * @Version V1.0
 **/
@Data
public class ChatRecordResponse implements Serializable {
    private static final long serialVersionUID = -3745304066111413045L;
    /**
     * recordId
     */
    private Integer recordId;

    /**
     * 发送人userid
     */
    private Integer senderId;

    /**
     * 发送人username
     */
    private String senderName;

    /**
     * 接收人userid
     */
    private Integer receiverId;
    /**
     * 发送人昵称
     */
    private String nick;


    /**
     * 头像
     */
    private String imageUrl;


    /**
     * 是否是自己发送的消息
     */
    private boolean isSelf;


    /**
     * 消息发送时间
     */
    private String  sendTime;


    /**
     * 消息内容
     */
    private String  content;


    private String messageId;
}
